Preferences

OptimaHTML’s settings are done in the Preferences window. Preferences can be accessed from the Edit menu or by hitting Command+’H’.

Pay attention to the text above all preferences sets -- it gives you vital information about the current set.

General preferences

All settings that aren't related to removable tags are made in this preference group.

Report settings - These settings are related to reports, which are showed after single-file optimization. There's actually only one setting in this group ;)

• Include report creation date - If this option is selected, date when the optimization report was created will be added to the report.With the date included it's easier to manage your archived optimization reports.

File format settings - With these settings you can control the creator codes of optimized documents. Creator codes are four-character codes, which are used by the Mac OS. They tell the Mac OS which application created the document at hand. Usually that application is launched when the document is opened.

• Same creator as in original document - If this option is selected, the creator code of the optimized documents will be same as that of the original documents.

• Change creator to...-If you select this option, you can define a creator code yourself. To define a creator code, either type it into the text field next to the option of changing the creator, or select one of the predefined programs listed in a pop-up menu. If you select one, you will in the process tell OptimaHTML your creator code choice, even if you don’t really know the code!

Acceptable HTML file extensions - You can view, add or remove file extensions, which OptimaHTML uses to recognize HTML files. The default file extensions are ".html", ".htm", ".eht", ".cfm", ".shtm" and ".shtml". Select "Add/Remove..." from Popup menu to add or remove file extensions.

Preview browser
With this setting you can select the browser you want to use to view HTML files. Please make sure that you'll select a web browser application, one that is capable of displaying documents in the so-called "Local Zone", which consists of your computer and all computers, if any, connected directly or indirectly to your computer through an Intranet network.

AutoSave - With the AutoSave feature you can optimize several files quickly without detailed reports. However, if you want to add or change description and keyword Meta tags, you should use single-file optimizing, without using AutoSave, because when the AutoSave feature is enabled, OptimaHTML doesn't show the document window where these invisible tags are added.

To enable AutoSave, select the AutoSave destination folder by clicking the Select... button in preferences. That's the folder where optimized files will be saved automatically. This data is written into OptimaHTML’s preferences file, so OptimaHTML will remember the destination folder.
When you've selected the AutoSave folder, check the Enable AutoSave checkbox to enable AutoSave feature (if this checkbox isn't checked, the AutoSave function won't be available, but your selected folder will be kept in memory). Then click the OK button to save your preferences.

Tag settings

Default tags

   You can select which tags you would like to have removed from this setting group. OptimaHTML offers great amount of tags, which can be removed safely. You can get specific information about every tag from next chapter, Tag Descriptions. Below more info about every tag group:

Unnecessary closing tags
This tag group contains closing tags, which can be removed safely from the document. Usually all these tags should be removed since they are pretty much useless used and take up space.

Unnecessary meta tags & miscellaneous
This tag group contains meta tags, which describe current page's author, creator, document type, HTML version, and also other unnecessary misc. HTML code like comments, default font definition, extra breaks and spaces etc. This tag group has also tag replacement feature (long tags are replaced with shorter similar ones). Usually all these tags (and spaces/breaks) should be removed. If your document contains JavaScript or SSI tags, OptimaHTML won't remove their code, even if it is inside HTML commentation tags.

Style tags
This tag group contains style tags, which shouldn't be removed if you don't want to change the appearance of your web page. However, removing style tags may reduce the size of the web page file dramatically.

Custom tags

You can specify tags that you want to remove that OptimaHTML doesn't otherwise support. Of course, this feature requires some knowledge of the HTML language. Click the Add... button and select "Generic HTML tag" from the popup menu to enter a tag you would like to have removed. 

For example if you want to remove <BIG> and </BIG> tags from HTML code, click the Add... button, enter "BIG" into the text field, check the “Add closing tag” checkbox, and click Add. Now your custom tag is added to the list. You can remove it by selecting it and clicking the Remove button, or you can reset the whole custom tag list by clicking the Remove all button.

If you want to create a custom tag setting that doesn't require a closing tag, just leave the “Add closing tag” checkbox unchecked.

As a new feature in version 2.0, you can now remove meta tags with specific attribute values. You can also use the asterisk mode to remove all values of selected attribute.

For example if you want to remove "Copyright" meta tags along with all of their values, click the Add... button and select "META tag" from the popup menu. Enter "copyright" into the Meta name text field, and check the Asterisk mode checkbox. If you want to remove the meta tag with only specific value (for example <meta name="copyright" content="1999-2000 by the Author">), enter the attribute's value (in our example it would be "1999-2000 by the Author"), and leave “Asterisk mode” checkbox unchecked.